from pydantic import BaseModel
from typing import Any, Optional
class ResponseModel(BaseModel):
    """
    标准响应模型
    
    Attributes:
        msg: 响应消息
        code: 状态码
        data: 响应数据
    """
    msg: str
    code: int
    data: Optional[Any] = None